import { toRefs,reactive } from 'vue';
function HookNum() {
    const state = reactive({
        num: 1,
        addNum(){
            state.num++
        }
    })
    const refState = toRefs(state);
    return refState
}
export default HookNum